@commercetools-uikit/money-input 16.7.5 → 16.8.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.
|
@@ -1216,8 +1216,7 @@ const MoneyInput = props => {
|
|
|
1216
1216
|
label: currencyCode,
|
|
1217
1217
|
value: currencyCode
|
|
1218
1218
|
}));
|
|
1219
|
-
const option = (
|
|
1220
|
-
var _context8;
|
|
1219
|
+
const option = (_context8 => {
|
|
1221
1220
|
const matchedOption = _findInstanceProperty__default["default"](options).call(options, optionCandidate => optionCandidate.value === props.value.currencyCode);
|
|
1222
1221
|
if (matchedOption) return matchedOption;
|
|
1223
1222
|
// ensure an option is found, even when the currencies don't include
|
|
@@ -1412,7 +1411,7 @@ MoneyInput.defaultProps = defaultProps;
|
|
|
1412
1411
|
var MoneyInput$1 = MoneyInput;
|
|
1413
1412
|
|
|
1414
1413
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1415
|
-
var version = "16.
|
|
1414
|
+
var version = "16.8.0";
|
|
1416
1415
|
|
|
1417
1416
|
exports["default"] = MoneyInput$1;
|
|
1418
1417
|
exports.version = version;
|
|
@@ -1185,8 +1185,7 @@ const MoneyInput = props => {
|
|
|
1185
1185
|
label: currencyCode,
|
|
1186
1186
|
value: currencyCode
|
|
1187
1187
|
}));
|
|
1188
|
-
const option = (
|
|
1189
|
-
var _context8;
|
|
1188
|
+
const option = (_context8 => {
|
|
1190
1189
|
const matchedOption = _findInstanceProperty__default["default"](options).call(options, optionCandidate => optionCandidate.value === props.value.currencyCode);
|
|
1191
1190
|
if (matchedOption) return matchedOption;
|
|
1192
1191
|
// ensure an option is found, even when the currencies don't include
|
|
@@ -1350,7 +1349,7 @@ MoneyInput.defaultProps = defaultProps;
|
|
|
1350
1349
|
var MoneyInput$1 = MoneyInput;
|
|
1351
1350
|
|
|
1352
1351
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1353
|
-
var version = "16.
|
|
1352
|
+
var version = "16.8.0";
|
|
1354
1353
|
|
|
1355
1354
|
exports["default"] = MoneyInput$1;
|
|
1356
1355
|
exports.version = version;
|
|
@@ -1185,8 +1185,7 @@ const MoneyInput = props => {
|
|
|
1185
1185
|
label: currencyCode,
|
|
1186
1186
|
value: currencyCode
|
|
1187
1187
|
}));
|
|
1188
|
-
const option = (
|
|
1189
|
-
var _context8;
|
|
1188
|
+
const option = (_context8 => {
|
|
1190
1189
|
const matchedOption = _findInstanceProperty(options).call(options, optionCandidate => optionCandidate.value === props.value.currencyCode);
|
|
1191
1190
|
if (matchedOption) return matchedOption;
|
|
1192
1191
|
// ensure an option is found, even when the currencies don't include
|
|
@@ -1381,6 +1380,6 @@ MoneyInput.defaultProps = defaultProps;
|
|
|
1381
1380
|
var MoneyInput$1 = MoneyInput;
|
|
1382
1381
|
|
|
1383
1382
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1384
|
-
var version = "16.
|
|
1383
|
+
var version = "16.8.0";
|
|
1385
1384
|
|
|
1386
1385
|
export { MoneyInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/money-input",
|
|
3
3
|
"description": "A controlled input component for money values with validation states.",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.8.0",
|
|
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": "16.
|
|
25
|
-
"@commercetools-uikit/design-system": "16.
|
|
26
|
-
"@commercetools-uikit/hooks": "16.
|
|
27
|
-
"@commercetools-uikit/icons": "16.
|
|
28
|
-
"@commercetools-uikit/input-utils": "16.
|
|
29
|
-
"@commercetools-uikit/select-utils": "16.
|
|
30
|
-
"@commercetools-uikit/tooltip": "16.
|
|
31
|
-
"@commercetools-uikit/utils": "16.
|
|
24
|
+
"@commercetools-uikit/constraints": "16.8.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "16.8.0",
|
|
26
|
+
"@commercetools-uikit/hooks": "16.8.0",
|
|
27
|
+
"@commercetools-uikit/icons": "16.8.0",
|
|
28
|
+
"@commercetools-uikit/input-utils": "16.8.0",
|
|
29
|
+
"@commercetools-uikit/select-utils": "16.8.0",
|
|
30
|
+
"@commercetools-uikit/tooltip": "16.8.0",
|
|
31
|
+
"@commercetools-uikit/utils": "16.8.0",
|
|
32
32
|
"@emotion/react": "^11.10.5",
|
|
33
33
|
"@emotion/styled": "^11.10.5",
|
|
34
34
|
"lodash": "4.17.21",
|