@commercetools-uikit/localized-money-input 19.11.0 → 19.12.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.
@@ -104,7 +104,7 @@ const LocalizedInput = props => {
104
104
  // the input name anymore.
105
105
  //
106
106
  event.target.currency = props.currency;
107
- onChange === null || onChange === void 0 || onChange(event);
107
+ onChange?.(event);
108
108
  }, [props.currency, onChange]);
109
109
  return jsxRuntime.jsxs(Stack__default["default"], {
110
110
  scale: "xs",
@@ -97,7 +97,7 @@ const LocalizedInput = props => {
97
97
  // the input name anymore.
98
98
  //
99
99
  event.target.currency = props.currency;
100
- onChange === null || onChange === void 0 || onChange(event);
100
+ onChange?.(event);
101
101
  }, [props.currency, onChange]);
102
102
  return jsxRuntime.jsxs(Stack__default["default"], {
103
103
  scale: "xs",
@@ -81,7 +81,7 @@ const LocalizedInput = props => {
81
81
  // the input name anymore.
82
82
  //
83
83
  event.target.currency = props.currency;
84
- onChange === null || onChange === void 0 || onChange(event);
84
+ onChange?.(event);
85
85
  }, [props.currency, onChange]);
86
86
  return jsxs(Stack, {
87
87
  scale: "xs",
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": "19.11.0",
4
+ "version": "19.12.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": "19.11.0",
25
- "@commercetools-uikit/design-system": "19.11.0",
26
- "@commercetools-uikit/flat-button": "19.11.0",
27
- "@commercetools-uikit/hooks": "19.11.0",
28
- "@commercetools-uikit/icons": "19.11.0",
29
- "@commercetools-uikit/input-utils": "19.11.0",
30
- "@commercetools-uikit/localized-utils": "19.11.0",
31
- "@commercetools-uikit/messages": "19.11.0",
32
- "@commercetools-uikit/money-input": "19.11.0",
33
- "@commercetools-uikit/select-utils": "19.11.0",
34
- "@commercetools-uikit/spacings-stack": "19.11.0",
35
- "@commercetools-uikit/tooltip": "19.11.0",
36
- "@commercetools-uikit/utils": "19.11.0",
24
+ "@commercetools-uikit/constraints": "19.12.0",
25
+ "@commercetools-uikit/design-system": "19.12.0",
26
+ "@commercetools-uikit/flat-button": "19.12.0",
27
+ "@commercetools-uikit/hooks": "19.12.0",
28
+ "@commercetools-uikit/icons": "19.12.0",
29
+ "@commercetools-uikit/input-utils": "19.12.0",
30
+ "@commercetools-uikit/localized-utils": "19.12.0",
31
+ "@commercetools-uikit/messages": "19.12.0",
32
+ "@commercetools-uikit/money-input": "19.12.0",
33
+ "@commercetools-uikit/select-utils": "19.12.0",
34
+ "@commercetools-uikit/spacings-stack": "19.12.0",
35
+ "@commercetools-uikit/tooltip": "19.12.0",
36
+ "@commercetools-uikit/utils": "19.12.0",
37
37
  "@emotion/react": "^11.10.5",
38
38
  "@emotion/styled": "^11.10.5",
39
39
  "prop-types": "15.8.1",