auth0-lock
Advanced tools
Comparing version 6.6.3 to 6.6.4
{ | ||
"name": "auth0-lock", | ||
"version": "6.6.3", | ||
"version": "6.6.4", | ||
"main": "build/auth0-lock.js" | ||
} |
@@ -46,4 +46,6 @@ /** | ||
panel.addClass('a0-active-pwd-strength'); | ||
var showPwdStrength = $('.a0-password_policy .a0-checked').length !== $('.a0-password_policy li').length; | ||
panel.toggleClass('a0-active-pwd-strength', showPwdStrength); | ||
// TODO Un-comment to enable mark password as invalid while | ||
@@ -57,16 +59,2 @@ // not meeting criteria. Bear in mind that a0-error/s should | ||
// } | ||
// TODO Make me with CSS: This places the password policy description | ||
// on top of the password field left icon: | ||
// | ||
// bottom of the relative container - top of the icon + 16px (icon height - 2px) | ||
var bottom = $('.a0-emailPassword')[0].getBoundingClientRect().bottom - | ||
$('.a0-password .a0-icon-budicon')[0].getBoundingClientRect().top + | ||
16; | ||
$('.a0-password_policy').css({bottom: bottom}); | ||
if($('.a0-password_policy .a0-checked').length === $('.a0-password_policy li').length) { | ||
panel.removeClass('a0-active-pwd-strength'); | ||
} | ||
}); | ||
@@ -73,0 +61,0 @@ |
{ | ||
"name": "auth0-lock", | ||
"version": "6.6.3", | ||
"version": "6.6.4", | ||
"description": "Auth0 Lock", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1223319
13723