1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 10:03:23 +00:00

[PM-5165][PM-8645] Migrate password strength component (#9912)

* Create standalone password-strength-v2 component

* Add deprecation notice to old component

* PM-8645: Use new password-strength component on export

* Remove unneccessary variable

* Remove setPasswordScoreText method

* Rename passwordStrengthResult to passwordStrengthScore and assign proper type

* Add missing types

* Document component Inputs/Outputs

* Add unit tests

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith
2024-07-10 16:59:17 +02:00
committed by GitHub
parent f446c3b454
commit 33de685b40
6 changed files with 214 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
<bit-progress
[size]="size"
[text]="text"
[bgColor]="color"
[showText]="showText"
[barWidth]="scoreWidth"
></bit-progress>