Skip to content

Commit

Permalink
feat: remove module
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrt committed Sep 9, 2024
1 parent d370d66 commit 6559722
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FormsModule } from '@angular/forms';
import { MatButtonToggle, MatButtonToggleGroup } from '@angular/material/button-toggle';
import { MatFormField, MatLabel, MatPrefix, MatSuffix } from '@angular/material/form-field';
import { MatInput } from '@angular/material/input';
Expand All @@ -18,7 +18,7 @@ const meta: Meta<NgxNumericStepperComponent> = {
}),
moduleMetadata({
imports: [
MatLabel, MatInput, MatPrefix, MatSuffix, MatFormField, ReactiveFormsModule, FormsModule
MatLabel, MatInput, MatPrefix, MatSuffix, MatFormField, FormsModule
]
})
],
Expand Down
4 changes: 2 additions & 2 deletions projects/story-book/src/overlay/overlay.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FormsModule } from '@angular/forms';
import { MatButton, MatIconButton } from '@angular/material/button';
import { MatFormField, MatHint, MatLabel } from '@angular/material/form-field';
import { MatIcon } from '@angular/material/icon';
Expand Down Expand Up @@ -113,7 +113,7 @@ export const overlayWidth: Story = {
decorators: [
moduleMetadata({
imports: [
MatFormField, MatLabel, MatHint, FormsModule, MatInput, ReactiveFormsModule
MatFormField, MatLabel, MatHint, FormsModule, MatInput
]
})
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FormsModule } from '@angular/forms';
import { MatList, MatListItem } from '@angular/material/list';
import { MatTooltipModule } from '@angular/material/tooltip';
import { MatTooltip } from '@angular/material/tooltip';
import { type Meta, moduleMetadata, type StoryObj } from '@storybook/angular';

import { NgxSearchContainerComponent, NgxSearchInputDirective } from '../../../search-container/src/search-container.component';
Expand All @@ -13,7 +13,7 @@ const meta: Meta<NgxSearchContainerComponent> = {
moduleMetadata({
imports: [
NgxSearchInputDirective,
MatTooltipModule,
MatTooltip,
FormsModule
]
})
Expand Down
4 changes: 2 additions & 2 deletions projects/story-book/src/splitter/splitter.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FormsModule } from '@angular/forms';
import { MatButtonToggle, MatButtonToggleGroup } from '@angular/material/button-toggle';
import { MatFormField, MatLabel } from '@angular/material/form-field';
import { MatInput } from '@angular/material/input';
Expand Down Expand Up @@ -252,7 +252,7 @@ export const customizableSplitAreas: Story = {
decorators: [
moduleMetadata({
imports: [
MatFormField, MatLabel, FormsModule, MatInput, ReactiveFormsModule
MatFormField, MatLabel, FormsModule, MatInput
]
})
],
Expand Down
4 changes: 2 additions & 2 deletions projects/story-book/src/user-card/user-card.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MatButtonToggleModule } from '@angular/material/button-toggle';
import { MatButtonToggle } from '@angular/material/button-toggle';
import { type Meta, moduleMetadata, type StoryObj } from '@storybook/angular';

import { NgxUserCardComponent } from '../../../user-card/src/user-card.component';
Expand All @@ -11,7 +11,7 @@ const meta: Meta<NgxUserCardComponent> = {
decorators: [
moduleMetadata({
imports: [
MatButtonToggleModule
MatButtonToggle
]
})
],
Expand Down

0 comments on commit 6559722

Please sign in to comment.