@uxf/form 11.43.0 → 11.45.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/form",
3
- "version": "11.43.0",
3
+ "version": "11.45.0",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@uxf/ui": "11.43.0",
18
+ "@uxf/ui": "11.45.0",
19
19
  "coordinate-parser": "1.0.7",
20
20
  "dayjs": "1.11.13",
21
21
  "react-hook-form": "7.53.0"
@@ -12,7 +12,7 @@ const react_hook_form_1 = require("react-hook-form");
12
12
  const form_id_context_1 = require("../form-id-context");
13
13
  const EMAIL_REGEXP = /^(([^<>()[\]\\.,;:\s@À-ÖÙ-öù-ÿĀ-žḀ-ỿ"]+(\.[^<>()[\]\\.,;:\s@À-ÖÙ-öù-ÿĀ-žḀ-ỿ"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
14
14
  const PHONE_REGEXP = /^(\+)?[\d\s]*$/;
15
- const URL_REGEXP = /^[a-zA-Z0-9-]+\.[a-zA-Z]{2,}$/;
15
+ const URL_REGEXP = /^(https?:\/\/)?(www\.)?([a-zA-Z0-9.-]+\.[a-zA-Z]{2,})(\/.*)?$/;
16
16
  function TextInput(props) {
17
17
  var _a, _b, _c, _d, _e, _f, _g;
18
18
  const formId = (0, form_id_context_1.useFormIdContext)();