From 65597227b752f856f64ec6724524f09676990702 Mon Sep 17 00:00:00 2001 From: rfrt Date: Mon, 9 Sep 2024 15:47:15 +0200 Subject: [PATCH] feat: remove module --- .../story-book/src/numeric-stepper/numeric-stepper.stories.ts | 4 ++-- projects/story-book/src/overlay/overlay.stories.ts | 4 ++-- .../src/search-container/search-container.stories.ts | 4 ++-- projects/story-book/src/splitter/splitter.stories.ts | 4 ++-- projects/story-book/src/user-card/user-card.stories.ts | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/projects/story-book/src/numeric-stepper/numeric-stepper.stories.ts b/projects/story-book/src/numeric-stepper/numeric-stepper.stories.ts index ebe061b..d376729 100644 --- a/projects/story-book/src/numeric-stepper/numeric-stepper.stories.ts +++ b/projects/story-book/src/numeric-stepper/numeric-stepper.stories.ts @@ -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'; @@ -18,7 +18,7 @@ const meta: Meta = { }), moduleMetadata({ imports: [ - MatLabel, MatInput, MatPrefix, MatSuffix, MatFormField, ReactiveFormsModule, FormsModule + MatLabel, MatInput, MatPrefix, MatSuffix, MatFormField, FormsModule ] }) ], diff --git a/projects/story-book/src/overlay/overlay.stories.ts b/projects/story-book/src/overlay/overlay.stories.ts index d61653b..16405be 100644 --- a/projects/story-book/src/overlay/overlay.stories.ts +++ b/projects/story-book/src/overlay/overlay.stories.ts @@ -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'; @@ -113,7 +113,7 @@ export const overlayWidth: Story = { decorators: [ moduleMetadata({ imports: [ - MatFormField, MatLabel, MatHint, FormsModule, MatInput, ReactiveFormsModule + MatFormField, MatLabel, MatHint, FormsModule, MatInput ] }) ], diff --git a/projects/story-book/src/search-container/search-container.stories.ts b/projects/story-book/src/search-container/search-container.stories.ts index 2e3bbc0..a85dac1 100644 --- a/projects/story-book/src/search-container/search-container.stories.ts +++ b/projects/story-book/src/search-container/search-container.stories.ts @@ -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'; @@ -13,7 +13,7 @@ const meta: Meta = { moduleMetadata({ imports: [ NgxSearchInputDirective, - MatTooltipModule, + MatTooltip, FormsModule ] }) diff --git a/projects/story-book/src/splitter/splitter.stories.ts b/projects/story-book/src/splitter/splitter.stories.ts index 4634ba1..e0609a7 100644 --- a/projects/story-book/src/splitter/splitter.stories.ts +++ b/projects/story-book/src/splitter/splitter.stories.ts @@ -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'; @@ -252,7 +252,7 @@ export const customizableSplitAreas: Story = { decorators: [ moduleMetadata({ imports: [ - MatFormField, MatLabel, FormsModule, MatInput, ReactiveFormsModule + MatFormField, MatLabel, FormsModule, MatInput ] }) ], diff --git a/projects/story-book/src/user-card/user-card.stories.ts b/projects/story-book/src/user-card/user-card.stories.ts index 6606ede..840b66e 100644 --- a/projects/story-book/src/user-card/user-card.stories.ts +++ b/projects/story-book/src/user-card/user-card.stories.ts @@ -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'; @@ -11,7 +11,7 @@ const meta: Meta = { decorators: [ moduleMetadata({ imports: [ - MatButtonToggleModule + MatButtonToggle ] }) ],