@reachfive/identity-ui 1.25.6 → 1.25.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/identity-ui.js +3 -3
- package/cjs/identity-ui.js.map +1 -1
- package/es/identity-ui.js +3 -3
- package/es/identity-ui.js.map +1 -1
- package/es/identity-ui.min.js +3 -3
- package/es/identity-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/types/identity-ui.d.ts +2 -2
- package/umd/identity-ui.js +3 -3
- package/umd/identity-ui.js.map +1 -1
- package/umd/identity-ui.min.js +3 -3
- package/umd/identity-ui.min.js.map +1 -1
package/es/identity-ui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @reachfive/identity-ui - v1.25.
|
|
3
|
-
* Compiled
|
|
2
|
+
* @reachfive/identity-ui - v1.25.7
|
|
3
|
+
* Compiled Wed, 03 Apr 2024 14:19:27 UTC
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) ReachFive.
|
|
6
6
|
*
|
|
@@ -4564,7 +4564,7 @@ function isValidEmail(email) {
|
|
|
4564
4564
|
return /\S+@\S+\.\S+/.test(email);
|
|
4565
4565
|
}
|
|
4566
4566
|
function camelCase(string) {
|
|
4567
|
-
return string.replace(/(
|
|
4567
|
+
return string.replace(/([^A-Z])([A-Z])/g, "$1 $2").toLowerCase().replace(/[^a-z0-9]/ig, " ").trim().replace(/(?:^\w|[A-Z]|\b\w)/g, function(word, index) {
|
|
4568
4568
|
return index === 0 ? word.toLowerCase() : word.toUpperCase();
|
|
4569
4569
|
}).replace(/\s+/g, "");
|
|
4570
4570
|
}
|