@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/es/identity-ui.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @reachfive/identity-ui - v1.25.6
3
- * Compiled Tue, 26 Mar 2024 16:31:33 UTC
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(/((?<![A-Z])[A-Z])/g, " $1").toLowerCase().replace(/[^a-z0-9]/ig, " ").trim().replace(/(?:^\w|[A-Z]|\b\w)/g, function(word, index) {
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
  }