Skip to content

Commit

Permalink
fix(package): removed MatInputModule from the lib
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Mar 26, 2019
1 parent 66a7c16 commit 9af1ff5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<button (click)="isVisible = !isVisible" class="mat-icon-button cdk-focused cdk-mouse-focused" mat-icon-button matRipple
<button (click)="isVisible = !isVisible"
class="mat-icon-button cdk-focused cdk-mouse-focused" mat-icon-button
matRippleCentered="true"
matSuffix>
matRipple>
<mat-icon>{{isVisible ? 'visibility' : 'visibility_off' }}</mat-icon>
</button>

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import {async, ComponentFixture, TestBed} from '@angular/core/testing';

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

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

beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [MatIconModule, MatButtonModule],
imports: [MatIconModule],
declarations: [MatPassToggleVisibilityComponent]
})
.compileComponents();
Expand Down
3 changes: 1 addition & 2 deletions src/module/mat-password-strength.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {CommonModule} from '@angular/common';
import {ModuleWithProviders, NgModule} from '@angular/core';
import {MatCardModule, MatIconModule, MatInputModule, MatProgressBarModule, MatRippleModule} from '@angular/material';
import {MatCardModule, MatIconModule, MatProgressBarModule, MatRippleModule} from '@angular/material';

import {MatPasswordStrengthComponent} from './component/mat-password-strength/mat-password-strength.component';
import {MatPasswordStrengthInfoComponent} from './component/mat-password-strength-info/mat-password-strength-info.component';
Expand All @@ -19,7 +19,6 @@ export {MatPassToggleVisibilityComponent} from './component/mat-pass-toggle-visi
MatProgressBarModule,
MatCardModule,
MatIconModule,
MatInputModule,
MatRippleModule
],
exports: [
Expand Down

0 comments on commit 9af1ff5

Please sign in to comment.