@commercetools-uikit/localized-money-input 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.
|
@@ -51,19 +51,37 @@ var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
|
51
51
|
|
|
52
52
|
var messages = reactIntl.defineMessages({
|
|
53
53
|
missingRequiredField: {
|
|
54
|
-
id:
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
id: "UIKit.LocalizedMoneyInput.missingRequiredField",
|
|
55
|
+
defaultMessage: [{
|
|
56
|
+
"type": 0,
|
|
57
|
+
"value": "This field is required. Provide at least one value."
|
|
58
|
+
}]
|
|
57
59
|
},
|
|
58
60
|
show: {
|
|
59
|
-
id:
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
id: "UIKit.LocalizedMoneyInput.show",
|
|
62
|
+
defaultMessage: [{
|
|
63
|
+
"type": 0,
|
|
64
|
+
"value": "Show all currencies ("
|
|
65
|
+
}, {
|
|
66
|
+
"type": 1,
|
|
67
|
+
"value": "remainingCurrencies"
|
|
68
|
+
}, {
|
|
69
|
+
"type": 0,
|
|
70
|
+
"value": ")"
|
|
71
|
+
}]
|
|
62
72
|
},
|
|
63
73
|
hide: {
|
|
64
|
-
id:
|
|
65
|
-
|
|
66
|
-
|
|
74
|
+
id: "UIKit.LocalizedMoneyInput.hide",
|
|
75
|
+
defaultMessage: [{
|
|
76
|
+
"type": 0,
|
|
77
|
+
"value": "Hide currencies ("
|
|
78
|
+
}, {
|
|
79
|
+
"type": 1,
|
|
80
|
+
"value": "remainingCurrencies"
|
|
81
|
+
}, {
|
|
82
|
+
"type": 0,
|
|
83
|
+
"value": ")"
|
|
84
|
+
}]
|
|
67
85
|
}
|
|
68
86
|
});
|
|
69
87
|
|
|
@@ -234,7 +252,7 @@ LocalizedMoneyInput.getEmptyCurrencies = values => {
|
|
|
234
252
|
var LocalizedMoneyInput$1 = LocalizedMoneyInput;
|
|
235
253
|
|
|
236
254
|
// NOTE: This string will be replaced on build time with the package version.
|
|
237
|
-
var version = "20.3.
|
|
255
|
+
var version = "20.3.1";
|
|
238
256
|
|
|
239
257
|
exports["default"] = LocalizedMoneyInput$1;
|
|
240
258
|
exports.version = version;
|
|
@@ -51,19 +51,37 @@ var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
|
|
|
51
51
|
|
|
52
52
|
var messages = reactIntl.defineMessages({
|
|
53
53
|
missingRequiredField: {
|
|
54
|
-
id:
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
id: "UIKit.LocalizedMoneyInput.missingRequiredField",
|
|
55
|
+
defaultMessage: [{
|
|
56
|
+
"type": 0,
|
|
57
|
+
"value": "This field is required. Provide at least one value."
|
|
58
|
+
}]
|
|
57
59
|
},
|
|
58
60
|
show: {
|
|
59
|
-
id:
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
id: "UIKit.LocalizedMoneyInput.show",
|
|
62
|
+
defaultMessage: [{
|
|
63
|
+
"type": 0,
|
|
64
|
+
"value": "Show all currencies ("
|
|
65
|
+
}, {
|
|
66
|
+
"type": 1,
|
|
67
|
+
"value": "remainingCurrencies"
|
|
68
|
+
}, {
|
|
69
|
+
"type": 0,
|
|
70
|
+
"value": ")"
|
|
71
|
+
}]
|
|
62
72
|
},
|
|
63
73
|
hide: {
|
|
64
|
-
id:
|
|
65
|
-
|
|
66
|
-
|
|
74
|
+
id: "UIKit.LocalizedMoneyInput.hide",
|
|
75
|
+
defaultMessage: [{
|
|
76
|
+
"type": 0,
|
|
77
|
+
"value": "Hide currencies ("
|
|
78
|
+
}, {
|
|
79
|
+
"type": 1,
|
|
80
|
+
"value": "remainingCurrencies"
|
|
81
|
+
}, {
|
|
82
|
+
"type": 0,
|
|
83
|
+
"value": ")"
|
|
84
|
+
}]
|
|
67
85
|
}
|
|
68
86
|
});
|
|
69
87
|
|
|
@@ -227,7 +245,7 @@ LocalizedMoneyInput.getEmptyCurrencies = values => {
|
|
|
227
245
|
var LocalizedMoneyInput$1 = LocalizedMoneyInput;
|
|
228
246
|
|
|
229
247
|
// NOTE: This string will be replaced on build time with the package version.
|
|
230
|
-
var version = "20.3.
|
|
248
|
+
var version = "20.3.1";
|
|
231
249
|
|
|
232
250
|
exports["default"] = LocalizedMoneyInput$1;
|
|
233
251
|
exports.version = version;
|
|
@@ -29,19 +29,37 @@ import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
|
29
29
|
|
|
30
30
|
var messages = defineMessages({
|
|
31
31
|
missingRequiredField: {
|
|
32
|
-
id:
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
id: "UIKit.LocalizedMoneyInput.missingRequiredField",
|
|
33
|
+
defaultMessage: [{
|
|
34
|
+
"type": 0,
|
|
35
|
+
"value": "This field is required. Provide at least one value."
|
|
36
|
+
}]
|
|
35
37
|
},
|
|
36
38
|
show: {
|
|
37
|
-
id:
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
id: "UIKit.LocalizedMoneyInput.show",
|
|
40
|
+
defaultMessage: [{
|
|
41
|
+
"type": 0,
|
|
42
|
+
"value": "Show all currencies ("
|
|
43
|
+
}, {
|
|
44
|
+
"type": 1,
|
|
45
|
+
"value": "remainingCurrencies"
|
|
46
|
+
}, {
|
|
47
|
+
"type": 0,
|
|
48
|
+
"value": ")"
|
|
49
|
+
}]
|
|
40
50
|
},
|
|
41
51
|
hide: {
|
|
42
|
-
id:
|
|
43
|
-
|
|
44
|
-
|
|
52
|
+
id: "UIKit.LocalizedMoneyInput.hide",
|
|
53
|
+
defaultMessage: [{
|
|
54
|
+
"type": 0,
|
|
55
|
+
"value": "Hide currencies ("
|
|
56
|
+
}, {
|
|
57
|
+
"type": 1,
|
|
58
|
+
"value": "remainingCurrencies"
|
|
59
|
+
}, {
|
|
60
|
+
"type": 0,
|
|
61
|
+
"value": ")"
|
|
62
|
+
}]
|
|
45
63
|
}
|
|
46
64
|
});
|
|
47
65
|
|
|
@@ -212,6 +230,6 @@ LocalizedMoneyInput.getEmptyCurrencies = values => {
|
|
|
212
230
|
var LocalizedMoneyInput$1 = LocalizedMoneyInput;
|
|
213
231
|
|
|
214
232
|
// NOTE: This string will be replaced on build time with the package version.
|
|
215
|
-
var version = "20.3.
|
|
233
|
+
var version = "20.3.1";
|
|
216
234
|
|
|
217
235
|
export { LocalizedMoneyInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/localized-money-input",
|
|
3
3
|
"description": "A controlled input component for localized money values with validation states.",
|
|
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,19 +21,19 @@
|
|
|
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/flat-button": "20.3.
|
|
27
|
-
"@commercetools-uikit/hooks": "20.3.
|
|
28
|
-
"@commercetools-uikit/icons": "20.3.
|
|
29
|
-
"@commercetools-uikit/input-utils": "20.3.
|
|
30
|
-
"@commercetools-uikit/localized-utils": "20.3.
|
|
31
|
-
"@commercetools-uikit/messages": "20.3.
|
|
32
|
-
"@commercetools-uikit/money-input": "20.3.
|
|
33
|
-
"@commercetools-uikit/select-utils": "20.3.
|
|
34
|
-
"@commercetools-uikit/spacings-stack": "20.3.
|
|
35
|
-
"@commercetools-uikit/tooltip": "20.3.
|
|
36
|
-
"@commercetools-uikit/utils": "20.3.
|
|
24
|
+
"@commercetools-uikit/constraints": "20.3.1",
|
|
25
|
+
"@commercetools-uikit/design-system": "20.3.1",
|
|
26
|
+
"@commercetools-uikit/flat-button": "20.3.1",
|
|
27
|
+
"@commercetools-uikit/hooks": "20.3.1",
|
|
28
|
+
"@commercetools-uikit/icons": "20.3.1",
|
|
29
|
+
"@commercetools-uikit/input-utils": "20.3.1",
|
|
30
|
+
"@commercetools-uikit/localized-utils": "20.3.1",
|
|
31
|
+
"@commercetools-uikit/messages": "20.3.1",
|
|
32
|
+
"@commercetools-uikit/money-input": "20.3.1",
|
|
33
|
+
"@commercetools-uikit/select-utils": "20.3.1",
|
|
34
|
+
"@commercetools-uikit/spacings-stack": "20.3.1",
|
|
35
|
+
"@commercetools-uikit/tooltip": "20.3.1",
|
|
36
|
+
"@commercetools-uikit/utils": "20.3.1",
|
|
37
37
|
"@emotion/react": "^11.10.5",
|
|
38
38
|
"@emotion/styled": "^11.10.5",
|
|
39
39
|
"react-select": "5.10.2"
|