@pelcro/react-pelcro-js 3.23.0-beta.12 → 3.23.0-beta.13

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/dist/index.cjs.js CHANGED
@@ -9709,7 +9709,7 @@ function generatePassword() {
9709
9709
  }
9710
9710
  function isStringValid(str) {
9711
9711
  // Define the regular expression to match only letters, numbers and spaces
9712
- var regex = /^[a-zA-Z0-9\s]+$/;
9712
+ var regex = /^(?:[\p{L}\p{N}\p{Pc}\p{Zs}\n]+$|^[\\\p{Script=Hangul}\p{Pc}\p{Zs}\n]+)$/mu;
9713
9713
 
9714
9714
  // Test the string against the regular expression
9715
9715
  return regex.test(str);
package/dist/index.esm.js CHANGED
@@ -9679,7 +9679,7 @@ function generatePassword() {
9679
9679
  }
9680
9680
  function isStringValid(str) {
9681
9681
  // Define the regular expression to match only letters, numbers and spaces
9682
- var regex = /^[a-zA-Z0-9\s]+$/;
9682
+ var regex = /^(?:[\p{L}\p{N}\p{Pc}\p{Zs}\n]+$|^[\\\p{Script=Hangul}\p{Pc}\p{Zs}\n]+)$/mu;
9683
9683
 
9684
9684
  // Test the string against the regular expression
9685
9685
  return regex.test(str);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.23.0-beta.12",
4
+ "version": "3.23.0-beta.13",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",