Skip to content

Commit 9af1ff5

Browse files
committed
fix(package): removed MatInputModule from the lib
1 parent 66a7c16 commit 9af1ff5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<button (click)="isVisible = !isVisible" class="mat-icon-button cdk-focused cdk-mouse-focused" mat-icon-button matRipple
1+
<button (click)="isVisible = !isVisible"
2+
class="mat-icon-button cdk-focused cdk-mouse-focused" mat-icon-button
23
matRippleCentered="true"
3-
matSuffix>
4+
matRipple>
45
<mat-icon>{{isVisible ? 'visibility' : 'visibility_off' }}</mat-icon>
56
</button>
67

src/module/component/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
22

33
import {MatPassToggleVisibilityComponent} from './mat-pass-toggle-visibility.component';
4-
import {MatButtonModule, MatIconModule} from '@angular/material';
4+
import {MatIconModule} from '@angular/material';
55

66
describe('MatPassToggleVisibilityComponent', () => {
77
let component: MatPassToggleVisibilityComponent;
88
let fixture: ComponentFixture<MatPassToggleVisibilityComponent>;
99

1010
beforeEach(async(() => {
1111
TestBed.configureTestingModule({
12-
imports: [MatIconModule, MatButtonModule],
12+
imports: [MatIconModule],
1313
declarations: [MatPassToggleVisibilityComponent]
1414
})
1515
.compileComponents();

src/module/mat-password-strength.module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {CommonModule} from '@angular/common';
22
import {ModuleWithProviders, NgModule} from '@angular/core';
3-
import {MatCardModule, MatIconModule, MatInputModule, MatProgressBarModule, MatRippleModule} from '@angular/material';
3+
import {MatCardModule, MatIconModule, MatProgressBarModule, MatRippleModule} from '@angular/material';
44

55
import {MatPasswordStrengthComponent} from './component/mat-password-strength/mat-password-strength.component';
66
import {MatPasswordStrengthInfoComponent} from './component/mat-password-strength-info/mat-password-strength-info.component';
@@ -19,7 +19,6 @@ export {MatPassToggleVisibilityComponent} from './component/mat-pass-toggle-visi
1919
MatProgressBarModule,
2020
MatCardModule,
2121
MatIconModule,
22-
MatInputModule,
2322
MatRippleModule
2423
],
2524
exports: [

0 commit comments

Comments
 (0)