@commercetools-uikit/localized-money-input 20.2.2 → 20.3.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.
|
@@ -103,7 +103,7 @@ const LocalizedInput = props => {
|
|
|
103
103
|
// the input name anymore.
|
|
104
104
|
//
|
|
105
105
|
event.target.currency = props.currency;
|
|
106
|
-
onChange
|
|
106
|
+
onChange === null || onChange === void 0 || onChange(event);
|
|
107
107
|
}, [props.currency, onChange]);
|
|
108
108
|
return jsxRuntime.jsxs(Stack__default["default"], {
|
|
109
109
|
scale: "xs",
|
|
@@ -234,7 +234,7 @@ LocalizedMoneyInput.getEmptyCurrencies = values => {
|
|
|
234
234
|
var LocalizedMoneyInput$1 = LocalizedMoneyInput;
|
|
235
235
|
|
|
236
236
|
// NOTE: This string will be replaced on build time with the package version.
|
|
237
|
-
var version = "20.
|
|
237
|
+
var version = "20.3.0";
|
|
238
238
|
|
|
239
239
|
exports["default"] = LocalizedMoneyInput$1;
|
|
240
240
|
exports.version = version;
|
|
@@ -98,7 +98,7 @@ const LocalizedInput = props => {
|
|
|
98
98
|
// the input name anymore.
|
|
99
99
|
//
|
|
100
100
|
event.target.currency = props.currency;
|
|
101
|
-
onChange
|
|
101
|
+
onChange === null || onChange === void 0 || onChange(event);
|
|
102
102
|
}, [props.currency, onChange]);
|
|
103
103
|
return jsxRuntime.jsxs(Stack__default["default"], {
|
|
104
104
|
scale: "xs",
|
|
@@ -227,7 +227,7 @@ LocalizedMoneyInput.getEmptyCurrencies = values => {
|
|
|
227
227
|
var LocalizedMoneyInput$1 = LocalizedMoneyInput;
|
|
228
228
|
|
|
229
229
|
// NOTE: This string will be replaced on build time with the package version.
|
|
230
|
-
var version = "20.
|
|
230
|
+
var version = "20.3.0";
|
|
231
231
|
|
|
232
232
|
exports["default"] = LocalizedMoneyInput$1;
|
|
233
233
|
exports.version = version;
|
|
@@ -81,7 +81,7 @@ const LocalizedInput = props => {
|
|
|
81
81
|
// the input name anymore.
|
|
82
82
|
//
|
|
83
83
|
event.target.currency = props.currency;
|
|
84
|
-
onChange
|
|
84
|
+
onChange === null || onChange === void 0 || onChange(event);
|
|
85
85
|
}, [props.currency, onChange]);
|
|
86
86
|
return jsxs(Stack, {
|
|
87
87
|
scale: "xs",
|
|
@@ -212,6 +212,6 @@ LocalizedMoneyInput.getEmptyCurrencies = values => {
|
|
|
212
212
|
var LocalizedMoneyInput$1 = LocalizedMoneyInput;
|
|
213
213
|
|
|
214
214
|
// NOTE: This string will be replaced on build time with the package version.
|
|
215
|
-
var version = "20.
|
|
215
|
+
var version = "20.3.0";
|
|
216
216
|
|
|
217
217
|
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.
|
|
4
|
+
"version": "20.3.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,26 +21,26 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/constraints": "20.
|
|
25
|
-
"@commercetools-uikit/design-system": "20.
|
|
26
|
-
"@commercetools-uikit/flat-button": "20.
|
|
27
|
-
"@commercetools-uikit/hooks": "20.
|
|
28
|
-
"@commercetools-uikit/icons": "20.
|
|
29
|
-
"@commercetools-uikit/input-utils": "20.
|
|
30
|
-
"@commercetools-uikit/localized-utils": "20.
|
|
31
|
-
"@commercetools-uikit/messages": "20.
|
|
32
|
-
"@commercetools-uikit/money-input": "20.
|
|
33
|
-
"@commercetools-uikit/select-utils": "20.
|
|
34
|
-
"@commercetools-uikit/spacings-stack": "20.
|
|
35
|
-
"@commercetools-uikit/tooltip": "20.
|
|
36
|
-
"@commercetools-uikit/utils": "20.
|
|
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",
|
|
37
37
|
"@emotion/react": "^11.10.5",
|
|
38
38
|
"@emotion/styled": "^11.10.5",
|
|
39
|
-
"react-select": "5.10.
|
|
39
|
+
"react-select": "5.10.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"react": "19.
|
|
43
|
-
"react-dom": "19.
|
|
42
|
+
"react": "19.2.0",
|
|
43
|
+
"react-dom": "19.2.0",
|
|
44
44
|
"react-intl": "^7.1.4"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|