@trackunit/react-form-components 0.0.239 → 0.0.242
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/index.cjs.js +8 -8
- package/index.esm.js +8 -8
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -44,14 +44,14 @@ var ReactCreatableSelect__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrea
|
|
|
44
44
|
var ReactAsyncSelect__default = /*#__PURE__*/_interopDefaultLegacy(ReactAsyncSelect);
|
|
45
45
|
|
|
46
46
|
var defaultTranslations = {
|
|
47
|
-
"phoneField.error.INVALID_COUNTRY": "
|
|
48
|
-
"phoneField.error.INVALID_LENGTH": "
|
|
49
|
-
"phoneField.error.NOT_A_NUMBER": "
|
|
50
|
-
"phoneField.error.REQUIRED": "
|
|
51
|
-
"phoneField.error.REQUIRED_COUNTRY": "
|
|
52
|
-
"phoneField.error.TOO_LONG": "
|
|
53
|
-
"phoneField.error.TOO_SHORT": "
|
|
54
|
-
"phoneField.error.undefined": "
|
|
47
|
+
"phoneField.error.INVALID_COUNTRY": "The country code is not valid",
|
|
48
|
+
"phoneField.error.INVALID_LENGTH": "The phone number is not valid",
|
|
49
|
+
"phoneField.error.NOT_A_NUMBER": "The phone number can contain numbers only",
|
|
50
|
+
"phoneField.error.REQUIRED": "The phone number is required",
|
|
51
|
+
"phoneField.error.REQUIRED_COUNTRY": "The country code is required",
|
|
52
|
+
"phoneField.error.TOO_LONG": "The phone number is too long",
|
|
53
|
+
"phoneField.error.TOO_SHORT": "The phone number is too short",
|
|
54
|
+
"phoneField.error.undefined": ""
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
/** The translation namespace for this library */
|
package/index.esm.js
CHANGED
|
@@ -14,14 +14,14 @@ import ReactCreatableSelect from 'react-select/creatable';
|
|
|
14
14
|
import ReactAsyncSelect from 'react-select/async';
|
|
15
15
|
|
|
16
16
|
var defaultTranslations = {
|
|
17
|
-
"phoneField.error.INVALID_COUNTRY": "
|
|
18
|
-
"phoneField.error.INVALID_LENGTH": "
|
|
19
|
-
"phoneField.error.NOT_A_NUMBER": "
|
|
20
|
-
"phoneField.error.REQUIRED": "
|
|
21
|
-
"phoneField.error.REQUIRED_COUNTRY": "
|
|
22
|
-
"phoneField.error.TOO_LONG": "
|
|
23
|
-
"phoneField.error.TOO_SHORT": "
|
|
24
|
-
"phoneField.error.undefined": "
|
|
17
|
+
"phoneField.error.INVALID_COUNTRY": "The country code is not valid",
|
|
18
|
+
"phoneField.error.INVALID_LENGTH": "The phone number is not valid",
|
|
19
|
+
"phoneField.error.NOT_A_NUMBER": "The phone number can contain numbers only",
|
|
20
|
+
"phoneField.error.REQUIRED": "The phone number is required",
|
|
21
|
+
"phoneField.error.REQUIRED_COUNTRY": "The country code is required",
|
|
22
|
+
"phoneField.error.TOO_LONG": "The phone number is too long",
|
|
23
|
+
"phoneField.error.TOO_SHORT": "The phone number is too short",
|
|
24
|
+
"phoneField.error.undefined": ""
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
/** The translation namespace for this library */
|