@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.
@@ -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
  *
@@ -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(/((?<![A-Z])[A-Z])/g, " $1").toLowerCase().replace(/[^a-z0-9]/ig, " ").trim().replace(/(?:^\w|[A-Z]|\b\w)/g, function(word, index) {
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
  }