@thecb/components 10.4.2-beta.1 → 10.4.2-beta.2

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.esm.js CHANGED
@@ -39822,7 +39822,9 @@ const VALID_NAME = 'validator/VALID_NAME';
39822
39822
  const VALID_NAME_ERROR = 'validator/VALID_NAME_ERROR';
39823
39823
  const validName = createValidator(VALID_NAME, VALID_NAME_ERROR);
39824
39824
  validatorFns[VALID_NAME] = (value, args, form) =>
39825
- value === '' ? false : new RegExp(/[A-Za-z]+(\s?[A-Za-z\-,'])*/).test(value);
39825
+ value === ''
39826
+ ? false
39827
+ : new RegExp(/[A-zÀ-ÿ\-,'\S]+(\s?[A-zÀ-ÿ\-,'\S])*/).test(value);
39826
39828
 
39827
39829
  const runValidatorErrorMessage = (type) =>
39828
39830
  `${type} was passed to runValidator, but that validator type does not exist.