@commercetools-uikit/field-errors 20.3.0 → 20.3.1
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.
|
@@ -33,19 +33,25 @@ var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defin
|
|
|
33
33
|
|
|
34
34
|
var messages = reactIntl.defineMessages({
|
|
35
35
|
missingRequiredField: {
|
|
36
|
-
id:
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
id: "UIKit.FieldErrors.missingRequiredField",
|
|
37
|
+
defaultMessage: [{
|
|
38
|
+
"type": 0,
|
|
39
|
+
"value": "This field is required. Provide a value."
|
|
40
|
+
}]
|
|
39
41
|
},
|
|
40
42
|
invalidNegativeNumber: {
|
|
41
|
-
id:
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
id: "UIKit.FieldErrors.invalidNegativeNumber",
|
|
44
|
+
defaultMessage: [{
|
|
45
|
+
"type": 0,
|
|
46
|
+
"value": "Negative number is not supported."
|
|
47
|
+
}]
|
|
44
48
|
},
|
|
45
49
|
invalidFractionalNumber: {
|
|
46
|
-
id:
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
id: "UIKit.FieldErrors.invalidFractionalNumber",
|
|
51
|
+
defaultMessage: [{
|
|
52
|
+
"type": 0,
|
|
53
|
+
"value": "A whole number is required."
|
|
54
|
+
}]
|
|
49
55
|
}
|
|
50
56
|
});
|
|
51
57
|
|
|
@@ -110,7 +116,7 @@ FieldErrors.errorTypes = {
|
|
|
110
116
|
var FieldErrors$1 = FieldErrors;
|
|
111
117
|
|
|
112
118
|
// NOTE: This string will be replaced on build time with the package version.
|
|
113
|
-
var version = "20.3.
|
|
119
|
+
var version = "20.3.1";
|
|
114
120
|
|
|
115
121
|
exports["default"] = FieldErrors$1;
|
|
116
122
|
exports.version = version;
|
|
@@ -33,19 +33,25 @@ var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defin
|
|
|
33
33
|
|
|
34
34
|
var messages = reactIntl.defineMessages({
|
|
35
35
|
missingRequiredField: {
|
|
36
|
-
id:
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
id: "UIKit.FieldErrors.missingRequiredField",
|
|
37
|
+
defaultMessage: [{
|
|
38
|
+
"type": 0,
|
|
39
|
+
"value": "This field is required. Provide a value."
|
|
40
|
+
}]
|
|
39
41
|
},
|
|
40
42
|
invalidNegativeNumber: {
|
|
41
|
-
id:
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
id: "UIKit.FieldErrors.invalidNegativeNumber",
|
|
44
|
+
defaultMessage: [{
|
|
45
|
+
"type": 0,
|
|
46
|
+
"value": "Negative number is not supported."
|
|
47
|
+
}]
|
|
44
48
|
},
|
|
45
49
|
invalidFractionalNumber: {
|
|
46
|
-
id:
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
id: "UIKit.FieldErrors.invalidFractionalNumber",
|
|
51
|
+
defaultMessage: [{
|
|
52
|
+
"type": 0,
|
|
53
|
+
"value": "A whole number is required."
|
|
54
|
+
}]
|
|
49
55
|
}
|
|
50
56
|
});
|
|
51
57
|
|
|
@@ -110,7 +116,7 @@ FieldErrors.errorTypes = {
|
|
|
110
116
|
var FieldErrors$1 = FieldErrors;
|
|
111
117
|
|
|
112
118
|
// NOTE: This string will be replaced on build time with the package version.
|
|
113
|
-
var version = "20.3.
|
|
119
|
+
var version = "20.3.1";
|
|
114
120
|
|
|
115
121
|
exports["default"] = FieldErrors$1;
|
|
116
122
|
exports.version = version;
|
|
@@ -16,19 +16,25 @@ import { jsx } from '@emotion/react/jsx-runtime';
|
|
|
16
16
|
|
|
17
17
|
var messages = defineMessages({
|
|
18
18
|
missingRequiredField: {
|
|
19
|
-
id:
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
id: "UIKit.FieldErrors.missingRequiredField",
|
|
20
|
+
defaultMessage: [{
|
|
21
|
+
"type": 0,
|
|
22
|
+
"value": "This field is required. Provide a value."
|
|
23
|
+
}]
|
|
22
24
|
},
|
|
23
25
|
invalidNegativeNumber: {
|
|
24
|
-
id:
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
id: "UIKit.FieldErrors.invalidNegativeNumber",
|
|
27
|
+
defaultMessage: [{
|
|
28
|
+
"type": 0,
|
|
29
|
+
"value": "Negative number is not supported."
|
|
30
|
+
}]
|
|
27
31
|
},
|
|
28
32
|
invalidFractionalNumber: {
|
|
29
|
-
id:
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
id: "UIKit.FieldErrors.invalidFractionalNumber",
|
|
34
|
+
defaultMessage: [{
|
|
35
|
+
"type": 0,
|
|
36
|
+
"value": "A whole number is required."
|
|
37
|
+
}]
|
|
32
38
|
}
|
|
33
39
|
});
|
|
34
40
|
|
|
@@ -93,6 +99,6 @@ FieldErrors.errorTypes = {
|
|
|
93
99
|
var FieldErrors$1 = FieldErrors;
|
|
94
100
|
|
|
95
101
|
// NOTE: This string will be replaced on build time with the package version.
|
|
96
|
-
var version = "20.3.
|
|
102
|
+
var version = "20.3.1";
|
|
97
103
|
|
|
98
104
|
export { FieldErrors$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/field-errors",
|
|
3
3
|
"description": "Renders errors based on configuration.",
|
|
4
|
-
"version": "20.3.
|
|
4
|
+
"version": "20.3.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/messages": "20.3.
|
|
24
|
+
"@commercetools-uikit/messages": "20.3.1",
|
|
25
25
|
"@emotion/react": "^11.10.5",
|
|
26
26
|
"@emotion/styled": "^11.10.5"
|
|
27
27
|
},
|