mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
Fix imports for standalone component stories (#12464)
This commit is contained in:
parent
2bb807c5ce
commit
6eb30c98c4
@ -109,20 +109,17 @@ export default {
|
||||
title: "Component Library/Async Actions/In Forms",
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
declarations: [
|
||||
declarations: [PromiseExampleComponent, ObservableExampleComponent],
|
||||
imports: [
|
||||
BitSubmitDirective,
|
||||
BitFormButtonDirective,
|
||||
PromiseExampleComponent,
|
||||
ObservableExampleComponent,
|
||||
BitActionDirective,
|
||||
],
|
||||
imports: [
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
FormFieldModule,
|
||||
InputModule,
|
||||
ButtonModule,
|
||||
IconButtonModule,
|
||||
BitActionDirective,
|
||||
],
|
||||
providers: [
|
||||
{
|
||||
|
@ -56,12 +56,11 @@ export default {
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
declarations: [
|
||||
BitActionDirective,
|
||||
PromiseExampleComponent,
|
||||
ObservableExampleComponent,
|
||||
RejectedPromiseExampleComponent,
|
||||
],
|
||||
imports: [ButtonModule, IconButtonModule],
|
||||
imports: [ButtonModule, IconButtonModule, BitActionDirective],
|
||||
providers: [
|
||||
{
|
||||
provide: ValidationService,
|
||||
|
@ -8,8 +8,7 @@ export default {
|
||||
component: BadgeDirective,
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
imports: [CommonModule],
|
||||
declarations: [BadgeDirective],
|
||||
imports: [CommonModule, BadgeDirective],
|
||||
}),
|
||||
],
|
||||
args: {
|
||||
|
@ -25,8 +25,7 @@ export default {
|
||||
component: BreadcrumbsComponent,
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
declarations: [BreadcrumbComponent],
|
||||
imports: [LinkModule, MenuModule, IconButtonModule, RouterModule],
|
||||
imports: [LinkModule, MenuModule, IconButtonModule, RouterModule, BreadcrumbComponent],
|
||||
}),
|
||||
applicationConfig({
|
||||
providers: [
|
||||
|
@ -64,13 +64,16 @@ export default {
|
||||
component: StoryDialogComponent,
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
declarations: [
|
||||
declarations: [StoryDialogContentComponent],
|
||||
imports: [
|
||||
SharedModule,
|
||||
ButtonModule,
|
||||
DialogModule,
|
||||
IconButtonModule,
|
||||
DialogCloseDirective,
|
||||
DialogComponent,
|
||||
DialogTitleContainerDirective,
|
||||
StoryDialogContentComponent,
|
||||
],
|
||||
imports: [SharedModule, ButtonModule, DialogModule, IconButtonModule],
|
||||
providers: [
|
||||
DialogService,
|
||||
{
|
||||
|
@ -13,8 +13,7 @@ export default {
|
||||
},
|
||||
decorators: [
|
||||
moduleMetadata({
|
||||
declarations: [ToggleGroupComponent, ToggleComponent],
|
||||
imports: [BadgeModule],
|
||||
imports: [BadgeModule, ToggleGroupComponent, ToggleComponent],
|
||||
}),
|
||||
],
|
||||
parameters: {
|
||||
|
Loading…
Reference in New Issue
Block a user