- Placeholders weren't fully centered thanks to
padding-right: 50px;
value that comes with the eye icon. Fixed this by addingpadding-left: 50px;
. I also removed the unnecessary!important
property on paddings so RTL readers can relocate the icon to the left and use right aligned placeholder.
Known issues:
Password visibility toggle conflicts with the therealsujitk/flarum-ext-show-password
- Remove custom placeholders.
I practically rewritten and redesigned the whole thing.
- Load
zxcvbn
only when it is necessary (via CDN). - Now we have three labels as 'Weak', 'Could be stronger' and 'Strong' instead of five. Also you can't disable these labels from the settings modal anymore.
- Strength score is 0/4 or 1/4 -> Weak
- Strength score is 2/4 or 3/4 -> Could be stronger
- Strength score is 4/4 -> Strong
- Strength score is 0/4 or 1/4 -> Weak
- Add password visibility toggle option.
- Okay I know we already have Show Password for this. But I just wanted to do something that'll look good together with the strength indicator.
- Remove "Change input's background color with password strength score" option.
- Run prettier for all JS files.
- Add Indonesian translations.
- Update version constraints for Flarum 0.1.0-beta.13.
- Update version constraints for Flarum 0.1.0-beta.12.
- Add Chinese & Japanese translations.
Initial release.