@commercetools-uikit/localized-money-input 20.3.0 → 20.4.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.
@@ -51,19 +51,37 @@ var Constraints__default = /*#__PURE__*/_interopDefault(Constraints);
51
51
 
52
52
  var messages = reactIntl.defineMessages({
53
53
  missingRequiredField: {
54
- id: 'UIKit.LocalizedMoneyInput.missingRequiredField',
55
- description: 'Error message for missing required value',
56
- defaultMessage: 'This field is required. Provide at least one value.'
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: 'UIKit.LocalizedMoneyInput.show',
60
- description: 'Show all currencies button',
61
- defaultMessage: 'Show all currencies ({remainingCurrencies})'
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: 'UIKit.LocalizedMoneyInput.hide',
65
- description: 'Hide currencies button',
66
- defaultMessage: 'Hide currencies ({remainingCurrencies})'
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.0";
255
+ var version = "20.4.0";
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: 'UIKit.LocalizedMoneyInput.missingRequiredField',
55
- description: 'Error message for missing required value',
56
- defaultMessage: 'This field is required. Provide at least one value.'
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: 'UIKit.LocalizedMoneyInput.show',
60
- description: 'Show all currencies button',
61
- defaultMessage: 'Show all currencies ({remainingCurrencies})'
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: 'UIKit.LocalizedMoneyInput.hide',
65
- description: 'Hide currencies button',
66
- defaultMessage: 'Hide currencies ({remainingCurrencies})'
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.0";
248
+ var version = "20.4.0";
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: 'UIKit.LocalizedMoneyInput.missingRequiredField',
33
- description: 'Error message for missing required value',
34
- defaultMessage: 'This field is required. Provide at least one value.'
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: 'UIKit.LocalizedMoneyInput.show',
38
- description: 'Show all currencies button',
39
- defaultMessage: 'Show all currencies ({remainingCurrencies})'
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: 'UIKit.LocalizedMoneyInput.hide',
43
- description: 'Hide currencies button',
44
- defaultMessage: 'Hide currencies ({remainingCurrencies})'
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.0";
233
+ var version = "20.4.0";
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.0",
4
+ "version": "20.4.0",
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.0",
25
- "@commercetools-uikit/design-system": "20.3.0",
26
- "@commercetools-uikit/flat-button": "20.3.0",
27
- "@commercetools-uikit/hooks": "20.3.0",
28
- "@commercetools-uikit/icons": "20.3.0",
29
- "@commercetools-uikit/input-utils": "20.3.0",
30
- "@commercetools-uikit/localized-utils": "20.3.0",
31
- "@commercetools-uikit/messages": "20.3.0",
32
- "@commercetools-uikit/money-input": "20.3.0",
33
- "@commercetools-uikit/select-utils": "20.3.0",
34
- "@commercetools-uikit/spacings-stack": "20.3.0",
35
- "@commercetools-uikit/tooltip": "20.3.0",
36
- "@commercetools-uikit/utils": "20.3.0",
24
+ "@commercetools-uikit/constraints": "20.4.0",
25
+ "@commercetools-uikit/design-system": "20.4.0",
26
+ "@commercetools-uikit/flat-button": "20.4.0",
27
+ "@commercetools-uikit/hooks": "20.4.0",
28
+ "@commercetools-uikit/icons": "20.4.0",
29
+ "@commercetools-uikit/input-utils": "20.4.0",
30
+ "@commercetools-uikit/localized-utils": "20.4.0",
31
+ "@commercetools-uikit/messages": "20.4.0",
32
+ "@commercetools-uikit/money-input": "20.4.0",
33
+ "@commercetools-uikit/select-utils": "20.4.0",
34
+ "@commercetools-uikit/spacings-stack": "20.4.0",
35
+ "@commercetools-uikit/tooltip": "20.4.0",
36
+ "@commercetools-uikit/utils": "20.4.0",
37
37
  "@emotion/react": "^11.10.5",
38
38
  "@emotion/styled": "^11.10.5",
39
39
  "react-select": "5.10.2"