@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/cjs/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
|
*
|
|
@@ -4585,7 +4585,7 @@ function isValidEmail(email) {
|
|
|
4585
4585
|
return /\S+@\S+\.\S+/.test(email);
|
|
4586
4586
|
}
|
|
4587
4587
|
function camelCase(string) {
|
|
4588
|
-
return string.replace(/(
|
|
4588
|
+
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) {
|
|
4589
4589
|
return index === 0 ? word.toLowerCase() : word.toUpperCase();
|
|
4590
4590
|
}).replace(/\s+/g, "");
|
|
4591
4591
|
}
|