-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CL-135] Migrate component library to standalone components (#12389)
* Migrate component library to standalone components * Fix tests
- Loading branch information
Showing
101 changed files
with
325 additions
and
211 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
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,14 +1,11 @@ | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { SharedModule } from "../shared"; | ||
|
||
import { BitActionDirective } from "./bit-action.directive"; | ||
import { BitSubmitDirective } from "./bit-submit.directive"; | ||
import { BitFormButtonDirective } from "./form-button.directive"; | ||
|
||
@NgModule({ | ||
imports: [SharedModule], | ||
declarations: [BitActionDirective, BitFormButtonDirective, BitSubmitDirective], | ||
imports: [BitActionDirective, BitFormButtonDirective, BitSubmitDirective], | ||
exports: [BitActionDirective, BitFormButtonDirective, BitSubmitDirective], | ||
}) | ||
export class AsyncActionsModule {} |
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
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,11 +1,9 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { AvatarComponent } from "./avatar.component"; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
imports: [AvatarComponent], | ||
exports: [AvatarComponent], | ||
declarations: [AvatarComponent], | ||
}) | ||
export class AvatarModule {} |
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,13 +1,9 @@ | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { BadgeModule } from "../badge"; | ||
import { SharedModule } from "../shared"; | ||
|
||
import { BadgeListComponent } from "./badge-list.component"; | ||
|
||
@NgModule({ | ||
imports: [SharedModule, BadgeModule], | ||
imports: [BadgeListComponent], | ||
exports: [BadgeListComponent], | ||
declarations: [BadgeListComponent], | ||
}) | ||
export class BadgeListModule {} |
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,11 +1,9 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { BadgeDirective } from "./badge.directive"; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
imports: [BadgeDirective], | ||
exports: [BadgeDirective], | ||
declarations: [BadgeDirective], | ||
}) | ||
export class BadgeModule {} |
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,14 +1,9 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { IconButtonModule } from "../icon-button"; | ||
import { SharedModule } from "../shared/shared.module"; | ||
|
||
import { BannerComponent } from "./banner.component"; | ||
|
||
@NgModule({ | ||
imports: [CommonModule, SharedModule, IconButtonModule], | ||
imports: [BannerComponent], | ||
exports: [BannerComponent], | ||
declarations: [BannerComponent], | ||
}) | ||
export class BannerModule {} |
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,17 +1,10 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
import { RouterModule } from "@angular/router"; | ||
|
||
import { IconButtonModule } from "../icon-button"; | ||
import { LinkModule } from "../link"; | ||
import { MenuModule } from "../menu"; | ||
|
||
import { BreadcrumbComponent } from "./breadcrumb.component"; | ||
import { BreadcrumbsComponent } from "./breadcrumbs.component"; | ||
|
||
@NgModule({ | ||
imports: [CommonModule, LinkModule, IconButtonModule, MenuModule, RouterModule], | ||
declarations: [BreadcrumbsComponent, BreadcrumbComponent], | ||
imports: [BreadcrumbsComponent, BreadcrumbComponent], | ||
exports: [BreadcrumbsComponent, BreadcrumbComponent], | ||
}) | ||
export class BreadcrumbsModule {} |
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,11 +1,9 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { ButtonComponent } from "./button.component"; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
imports: [ButtonComponent], | ||
exports: [ButtonComponent], | ||
declarations: [ButtonComponent], | ||
}) | ||
export class ButtonModule {} |
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,14 +1,9 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { FormControlModule } from "../form-control"; | ||
import { SharedModule } from "../shared"; | ||
|
||
import { CheckboxComponent } from "./checkbox.component"; | ||
|
||
@NgModule({ | ||
imports: [SharedModule, CommonModule, FormControlModule], | ||
declarations: [CheckboxComponent], | ||
imports: [CheckboxComponent], | ||
exports: [CheckboxComponent], | ||
}) | ||
export class CheckboxModule {} |
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,11 +1,9 @@ | ||
import { CommonModule } from "@angular/common"; | ||
import { NgModule } from "@angular/core"; | ||
|
||
import { ColorPasswordComponent } from "./color-password.component"; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
imports: [ColorPasswordComponent], | ||
exports: [ColorPasswordComponent], | ||
declarations: [ColorPasswordComponent], | ||
}) | ||
export class ColorPasswordModule {} |
Oops, something went wrong.