mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
[SG-414] Refactor password strength component (#3186)
* moved password strength to libs * refactored password strength component * made changes on desktop and browser to reuse component * resolved suggestions from PR review * shared module restructure * shared module restructure
This commit is contained in:
@@ -29,6 +29,7 @@ import { I18nPipe } from "./pipes/i18n.pipe";
|
||||
import { SearchCiphersPipe } from "./pipes/search-ciphers.pipe";
|
||||
import { SearchPipe } from "./pipes/search.pipe";
|
||||
import { UserNamePipe } from "./pipes/user-name.pipe";
|
||||
import { PasswordStrengthComponent } from "./shared/components/password-strength/password-strength.component";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -68,6 +69,7 @@ import { UserNamePipe } from "./pipes/user-name.pipe";
|
||||
StopPropDirective,
|
||||
TrueFalseValueDirective,
|
||||
UserNamePipe,
|
||||
PasswordStrengthComponent,
|
||||
],
|
||||
exports: [
|
||||
A11yInvalidDirective,
|
||||
@@ -97,6 +99,7 @@ import { UserNamePipe } from "./pipes/user-name.pipe";
|
||||
StopPropDirective,
|
||||
TrueFalseValueDirective,
|
||||
UserNamePipe,
|
||||
PasswordStrengthComponent,
|
||||
],
|
||||
providers: [CreditCardNumberPipe, DatePipe, I18nPipe, SearchPipe, UserNamePipe],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user