mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +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",
|
title: "Component Library/Async Actions/In Forms",
|
||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
declarations: [
|
declarations: [PromiseExampleComponent, ObservableExampleComponent],
|
||||||
|
imports: [
|
||||||
BitSubmitDirective,
|
BitSubmitDirective,
|
||||||
BitFormButtonDirective,
|
BitFormButtonDirective,
|
||||||
PromiseExampleComponent,
|
|
||||||
ObservableExampleComponent,
|
|
||||||
BitActionDirective,
|
|
||||||
],
|
|
||||||
imports: [
|
|
||||||
FormsModule,
|
FormsModule,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
FormFieldModule,
|
FormFieldModule,
|
||||||
InputModule,
|
InputModule,
|
||||||
ButtonModule,
|
ButtonModule,
|
||||||
IconButtonModule,
|
IconButtonModule,
|
||||||
|
BitActionDirective,
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
|
@ -56,12 +56,11 @@ export default {
|
|||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
declarations: [
|
declarations: [
|
||||||
BitActionDirective,
|
|
||||||
PromiseExampleComponent,
|
PromiseExampleComponent,
|
||||||
ObservableExampleComponent,
|
ObservableExampleComponent,
|
||||||
RejectedPromiseExampleComponent,
|
RejectedPromiseExampleComponent,
|
||||||
],
|
],
|
||||||
imports: [ButtonModule, IconButtonModule],
|
imports: [ButtonModule, IconButtonModule, BitActionDirective],
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ValidationService,
|
provide: ValidationService,
|
||||||
|
@ -8,8 +8,7 @@ export default {
|
|||||||
component: BadgeDirective,
|
component: BadgeDirective,
|
||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
imports: [CommonModule],
|
imports: [CommonModule, BadgeDirective],
|
||||||
declarations: [BadgeDirective],
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
args: {
|
args: {
|
||||||
|
@ -25,8 +25,7 @@ export default {
|
|||||||
component: BreadcrumbsComponent,
|
component: BreadcrumbsComponent,
|
||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
declarations: [BreadcrumbComponent],
|
imports: [LinkModule, MenuModule, IconButtonModule, RouterModule, BreadcrumbComponent],
|
||||||
imports: [LinkModule, MenuModule, IconButtonModule, RouterModule],
|
|
||||||
}),
|
}),
|
||||||
applicationConfig({
|
applicationConfig({
|
||||||
providers: [
|
providers: [
|
||||||
|
@ -64,13 +64,16 @@ export default {
|
|||||||
component: StoryDialogComponent,
|
component: StoryDialogComponent,
|
||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
declarations: [
|
declarations: [StoryDialogContentComponent],
|
||||||
|
imports: [
|
||||||
|
SharedModule,
|
||||||
|
ButtonModule,
|
||||||
|
DialogModule,
|
||||||
|
IconButtonModule,
|
||||||
DialogCloseDirective,
|
DialogCloseDirective,
|
||||||
DialogComponent,
|
DialogComponent,
|
||||||
DialogTitleContainerDirective,
|
DialogTitleContainerDirective,
|
||||||
StoryDialogContentComponent,
|
|
||||||
],
|
],
|
||||||
imports: [SharedModule, ButtonModule, DialogModule, IconButtonModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
DialogService,
|
DialogService,
|
||||||
{
|
{
|
||||||
|
@ -13,8 +13,7 @@ export default {
|
|||||||
},
|
},
|
||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
declarations: [ToggleGroupComponent, ToggleComponent],
|
imports: [BadgeModule, ToggleGroupComponent, ToggleComponent],
|
||||||
imports: [BadgeModule],
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
parameters: {
|
parameters: {
|
||||||
|
Loading…
Reference in New Issue
Block a user