Skip to content

Commit 3928c34

Browse files
committed
fix(lib): adjust lib for v15
1 parent 3a39480 commit 3928c34

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

projects/angular-material-extensions/fab-menu/src/lib/mat-fab-menu.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import {Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges} from '@angular/core';
22
import {speedDialFabAnimations} from './mat-fab-menu.animations';
33
import { ThemePalette } from '@angular/material/core';
4-
import { LegacyTooltipPosition as TooltipPosition } from '@angular/material/legacy-tooltip';
5-
4+
import { TooltipPosition } from '@angular/material/tooltip';
65
export interface MatFabMenu {
76
id: string | number;
87
icon?: string; // please use either icon or imgUrl

projects/angular-material-extensions/fab-menu/src/lib/mat-fab-menu.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {NgModule} from '@angular/core';
22
import {MatFabMenuComponent} from './mat-fab-menu.component';
3-
import {MatLegacyButtonModule as MatButtonModule} from '@angular/material/legacy-button';
43
import {CommonModule} from '@angular/common';
54
import {MatIconModule} from '@angular/material/icon';
6-
import {MatLegacyTooltipModule as MatTooltipModule} from '@angular/material/legacy-tooltip';
75
import {FlexLayoutModule} from '@angular/flex-layout';
6+
import {MatTooltipModule} from '@angular/material/tooltip';
7+
import {MatButtonModule} from '@angular/material/button';
88

99
@NgModule({
1010
declarations: [MatFabMenuComponent],

src/app/app.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import {MarkdownModule} from 'ngx-markdown';
88
import {FlexLayoutModule} from '@angular/flex-layout';
99
import {HttpClientModule} from '@angular/common/http';
1010
import {MatFabMenuModule} from '@angular-material-extensions/fab-menu';
11-
import { MatLegacyCardModule as MatCardModule } from '@angular/material/legacy-card';
12-
import { MatLegacyRadioModule as MatRadioModule } from '@angular/material/legacy-radio';
13-
import { MatLegacySlideToggleModule as MatSlideToggleModule } from '@angular/material/legacy-slide-toggle';
1411
import {FormsModule} from '@angular/forms';
12+
import {MatRadioModule} from '@angular/material/radio';
13+
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
14+
import {MatCardModule} from '@angular/material/card';
1515

1616
@NgModule({
1717
declarations: [

0 commit comments

Comments
 (0)