-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: replace deprecated directives with universal
tuiItem
-directi…
…ve (#2069) * feat(kit)!: replace `*tuiTab` with `*tuiItem` * feat(kit)!: replace `*tuiBreadcrumb` with `*tuiItem` * feat(kit)!: replace `tuiToolbarTool` with `tuiItem` * chore(cdk): `schematics` add migrations for `*tuiTab`, `*tuiBreadcrumb`, `tuiToolbarTool`
- Loading branch information
1 parent
0ee6ebb
commit d806829
Showing
31 changed files
with
193 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
> | ||
<ng-container *ngFor="let tab of tabs"> | ||
<button | ||
*tuiTab | ||
*tuiItem | ||
tuiTab | ||
> | ||
{{ tab }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export * from './toolbar-navigation-manager.directive'; | ||
export * from './toolbar-new.component'; | ||
export * from './toolbar-new.module'; | ||
export * from './toolbar-tool.directive'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
projects/addon-editor/components/toolbar-new/toolbar-tool.directive.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import {Directive} from '@angular/core'; | ||
|
||
/** | ||
* Blank directive to query for {@link TemplateRef} | ||
* TODO: 3.0 Migrate everything to this directive | ||
* Blank directive for queries via `@ContentChildren` / `@ViewChildren` / `querySelector` | ||
*/ | ||
@Directive({ | ||
selector: `ng-template[tuiItem]`, | ||
selector: '[tuiItem]', | ||
}) | ||
export class TuiItemDirective {} |
Oops, something went wrong.