@commercetools-uikit/number-field 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.
|
@@ -52,14 +52,30 @@ var NumberInput__default = /*#__PURE__*/_interopDefault(NumberInput);
|
|
|
52
52
|
|
|
53
53
|
var messages = reactIntl.defineMessages({
|
|
54
54
|
belowMinError: {
|
|
55
|
-
id:
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
id: "UIKit.NumberField.belowMinError",
|
|
56
|
+
defaultMessage: [{
|
|
57
|
+
"type": 0,
|
|
58
|
+
"value": "Value must be greater than or equal to "
|
|
59
|
+
}, {
|
|
60
|
+
"type": 1,
|
|
61
|
+
"value": "min"
|
|
62
|
+
}, {
|
|
63
|
+
"type": 0,
|
|
64
|
+
"value": "."
|
|
65
|
+
}]
|
|
58
66
|
},
|
|
59
67
|
aboveMaxError: {
|
|
60
|
-
id:
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
id: "UIKit.NumberField.aboveMaxError",
|
|
69
|
+
defaultMessage: [{
|
|
70
|
+
"type": 0,
|
|
71
|
+
"value": "Value must be less than or equal to "
|
|
72
|
+
}, {
|
|
73
|
+
"type": 1,
|
|
74
|
+
"value": "max"
|
|
75
|
+
}, {
|
|
76
|
+
"type": 0,
|
|
77
|
+
"value": "."
|
|
78
|
+
}]
|
|
63
79
|
}
|
|
64
80
|
});
|
|
65
81
|
|
|
@@ -211,7 +227,7 @@ NumberField.getDerivedStateFromProps = (props, state) => ({
|
|
|
211
227
|
var NumberField$1 = NumberField;
|
|
212
228
|
|
|
213
229
|
// NOTE: This string will be replaced on build time with the package version.
|
|
214
|
-
var version = "20.3.
|
|
230
|
+
var version = "20.3.1";
|
|
215
231
|
|
|
216
232
|
exports["default"] = NumberField$1;
|
|
217
233
|
exports.version = version;
|
|
@@ -52,14 +52,30 @@ var NumberInput__default = /*#__PURE__*/_interopDefault(NumberInput);
|
|
|
52
52
|
|
|
53
53
|
var messages = reactIntl.defineMessages({
|
|
54
54
|
belowMinError: {
|
|
55
|
-
id:
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
id: "UIKit.NumberField.belowMinError",
|
|
56
|
+
defaultMessage: [{
|
|
57
|
+
"type": 0,
|
|
58
|
+
"value": "Value must be greater than or equal to "
|
|
59
|
+
}, {
|
|
60
|
+
"type": 1,
|
|
61
|
+
"value": "min"
|
|
62
|
+
}, {
|
|
63
|
+
"type": 0,
|
|
64
|
+
"value": "."
|
|
65
|
+
}]
|
|
58
66
|
},
|
|
59
67
|
aboveMaxError: {
|
|
60
|
-
id:
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
id: "UIKit.NumberField.aboveMaxError",
|
|
69
|
+
defaultMessage: [{
|
|
70
|
+
"type": 0,
|
|
71
|
+
"value": "Value must be less than or equal to "
|
|
72
|
+
}, {
|
|
73
|
+
"type": 1,
|
|
74
|
+
"value": "max"
|
|
75
|
+
}, {
|
|
76
|
+
"type": 0,
|
|
77
|
+
"value": "."
|
|
78
|
+
}]
|
|
63
79
|
}
|
|
64
80
|
});
|
|
65
81
|
|
|
@@ -207,7 +223,7 @@ NumberField.getDerivedStateFromProps = (props, state) => ({
|
|
|
207
223
|
var NumberField$1 = NumberField;
|
|
208
224
|
|
|
209
225
|
// NOTE: This string will be replaced on build time with the package version.
|
|
210
|
-
var version = "20.3.
|
|
226
|
+
var version = "20.3.1";
|
|
211
227
|
|
|
212
228
|
exports["default"] = NumberField$1;
|
|
213
229
|
exports.version = version;
|
|
@@ -28,14 +28,30 @@ import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
|
28
28
|
|
|
29
29
|
var messages = defineMessages({
|
|
30
30
|
belowMinError: {
|
|
31
|
-
id:
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
id: "UIKit.NumberField.belowMinError",
|
|
32
|
+
defaultMessage: [{
|
|
33
|
+
"type": 0,
|
|
34
|
+
"value": "Value must be greater than or equal to "
|
|
35
|
+
}, {
|
|
36
|
+
"type": 1,
|
|
37
|
+
"value": "min"
|
|
38
|
+
}, {
|
|
39
|
+
"type": 0,
|
|
40
|
+
"value": "."
|
|
41
|
+
}]
|
|
34
42
|
},
|
|
35
43
|
aboveMaxError: {
|
|
36
|
-
id:
|
|
37
|
-
|
|
38
|
-
|
|
44
|
+
id: "UIKit.NumberField.aboveMaxError",
|
|
45
|
+
defaultMessage: [{
|
|
46
|
+
"type": 0,
|
|
47
|
+
"value": "Value must be less than or equal to "
|
|
48
|
+
}, {
|
|
49
|
+
"type": 1,
|
|
50
|
+
"value": "max"
|
|
51
|
+
}, {
|
|
52
|
+
"type": 0,
|
|
53
|
+
"value": "."
|
|
54
|
+
}]
|
|
39
55
|
}
|
|
40
56
|
});
|
|
41
57
|
|
|
@@ -187,6 +203,6 @@ NumberField.getDerivedStateFromProps = (props, state) => ({
|
|
|
187
203
|
var NumberField$1 = NumberField;
|
|
188
204
|
|
|
189
205
|
// NOTE: This string will be replaced on build time with the package version.
|
|
190
|
-
var version = "20.3.
|
|
206
|
+
var version = "20.3.1";
|
|
191
207
|
|
|
192
208
|
export { NumberField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/number-field",
|
|
3
3
|
"description": "A controlled input component for numbers with validation states and a label.",
|
|
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,14 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/constraints": "20.3.
|
|
25
|
-
"@commercetools-uikit/design-system": "20.3.
|
|
26
|
-
"@commercetools-uikit/field-errors": "20.3.
|
|
27
|
-
"@commercetools-uikit/field-label": "20.3.
|
|
28
|
-
"@commercetools-uikit/field-warnings": "20.3.
|
|
29
|
-
"@commercetools-uikit/number-input": "20.3.
|
|
30
|
-
"@commercetools-uikit/spacings-stack": "20.3.
|
|
31
|
-
"@commercetools-uikit/utils": "20.3.
|
|
24
|
+
"@commercetools-uikit/constraints": "20.3.1",
|
|
25
|
+
"@commercetools-uikit/design-system": "20.3.1",
|
|
26
|
+
"@commercetools-uikit/field-errors": "20.3.1",
|
|
27
|
+
"@commercetools-uikit/field-label": "20.3.1",
|
|
28
|
+
"@commercetools-uikit/field-warnings": "20.3.1",
|
|
29
|
+
"@commercetools-uikit/number-input": "20.3.1",
|
|
30
|
+
"@commercetools-uikit/spacings-stack": "20.3.1",
|
|
31
|
+
"@commercetools-uikit/utils": "20.3.1",
|
|
32
32
|
"@emotion/react": "^11.10.5",
|
|
33
33
|
"@emotion/styled": "^11.10.5",
|
|
34
34
|
"react-intl": "^7.1.4"
|