Skip to content

Commit ff2e420

Browse files
committed
refactor(ngx-material-password-strength): supporting now angular v6 material v6 and rxjs v6
1 parent 3f42471 commit ff2e420

14 files changed

+14192
-9481
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,22 @@ In the following example, we integration a material input container with `ngx-ma
103103

104104
```html
105105
<div>
106-
<mat-input-container floatPlaceholder="auto" style="width: 100%">
106+
<mat-form-field floatPlaceholder="auto" style="width: 100%">
107107
<input matInput #password
108108
[type]="inputType"
109109
required
110110
placeholder="Password">
111111
<mat-hint align="end" aria-live="polite">
112112
{{password.value.length}} / 25
113113
</mat-hint>
114-
</mat-input-container>
114+
</mat-form-field>
115115
<ngx-material-password-strength
116116
[password]="password.value">
117117
</ngx-material-password-strength>
118118
</div>
119119
```
120120

121-
[learn more about mat-input-container](https://material.angular.io/components/input/overview)
121+
[learn more about mat-form-field](https://material.angular.io/components/input/overview)
122122

123123
### Please checkout the full documentation [here](https://anthonynahas.github.io/ngx-material-passowrd-strength/doc/index.html) or follow the official [tutorial](https://anthonynahas.github.io/ngx-material-password-strength/getting-started)
124124

demo/.angular-cli.json

Lines changed: 0 additions & 91 deletions
This file was deleted.

demo/karma.conf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
module.exports = function (config) {
55
config.set({
66
basePath: '',
7-
frameworks: ['jasmine', '@angular/cli'],
7+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
88
plugins: [
99
require('karma-jasmine'),
1010
require('karma-chrome-launcher'),
1111
require('karma-jasmine-html-reporter'),
1212
require('karma-coverage-istanbul-reporter'),
13-
require('@angular/cli/plugins/karma')
13+
require('@angular-devkit/build-angular/plugins/karma')
1414
],
1515
client:{
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
1818
coverageIstanbulReporter: {
19-
reports: [ 'html', 'lcovonly' ],
19+
dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ],
2020
fixWebpackSourcePaths: true
2121
},
2222
angularCli: {

0 commit comments

Comments
 (0)